<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Indicates whether or not there is a frame ready to read</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="stomp.getsessionid.html">Stomp::getSessionId</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="stomp.readframe.html">Stomp::readFrame</a></div>
 <div class="up"><a href="class.stomp.html">Stomp</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="stomp.hasframe" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">Stomp::hasFrame</h1>
  <h1 class="refname">stomp_has_frame</h1>
  <p class="verinfo">(PECL stomp &gt;= 0.1.0)</p><p class="refpurpose"><span class="refname">Stomp::hasFrame</span> -- <span class="refname">stomp_has_frame</span> &mdash; <span class="dc-title">Indicates whether or not there is a frame ready to read</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-stomp.hasframe-description">
  <h3 class="title">说明</h3>
  <p class="para">面向对象风格 (method):</p>
   <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">bool</span> <span class="methodname"><strong>Stomp::hasFrame</strong></span>
    ( <span class="methodparam">void</span>
    )</div>

  <p class="para rdfs-comment">过程化风格:</p>
  <div class="methodsynopsis dc-description">
   <span class="type">bool</span> <span class="methodname"><strong>stomp_has_frame</strong></span>
    ( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$link</code></span>
   )</div>

  <p class="para rdfs-comment">
   Indicates whether or not there is a frame ready to read.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-stomp.hasframe-parameters">
  <h3 class="title">参数</h3>
  <p class="para">
   <dl>

    <dt>
<em><code class="parameter">link</code></em></dt>
<dd>
<p class="para">仅对过程化样式：由 <span class="function"><a href="stomp.construct.html" class="function">stomp_connect()</a></span> 返回的 stomp 连接标识符。</p></dd>

   </dl>

  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-stomp.hasframe-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   Returns <strong><code>TRUE</code></strong> if a frame is ready to read, or <strong><code>FALSE</code></strong> otherwise.
  </p>
 </div>


</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="stomp.getsessionid.html">Stomp::getSessionId</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="stomp.readframe.html">Stomp::readFrame</a></div>
 <div class="up"><a href="class.stomp.html">Stomp</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
